package com.bank.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="account_info")
public class Account implements Serializable {
	
	
	private static final long serialVersionUID = 2504903998381490348L;
	@Id
	@Column(name="number")				
	private  String number;				//账号
	@Column(name="currency")	
	private  String  currency;			//币种
	@Column(name="senior_oir")	
	private  String  senior_oir;		//营业机构号
	@Column(name="accounting_ori")	
	private  String  accounting_ori;	//帐务机构号
	@Column(name="account_subject")	
	private  String  account_subject;	//会计科目
	@Column(name="balance_direct")	
	private  String   balance_direct;	//余额方向
	@Column(name="balance")	
	private  Double  balance;			//账户余额
	@Column(name="balance_pre")	
	private  Double  balance_pre; 		//昨日余额
	@Column(name="customer_number")	
	private  String  customer_number;			//客户编号
	@Column(name="customer_name")	
	private  String  customer_name;				//客户名称
	@Column(name="product_number")		 
	private  Double   product_number;	//积数
	@Column(name="account_status")
	private  String  account_status;
	
	@Column(name="password")
	private String password;
	
	private String   customer_id_type;
	private String   customer_idno;
	private String   customer_phone;
	private String   customer_email;
	public String getCustomer_id_type() {
		return customer_id_type;
	}
	public void setCustomer_id_type(String customer_id_type) {
		this.customer_id_type = customer_id_type;
	}
	public String getCustomer_idno() {
		return customer_idno;
	}
	public void setCustomer_idno(String customer_idno) {
		this.customer_idno = customer_idno;
	}
	public String getCustomer_phone() {
		return customer_phone;
	}
	public void setCustomer_phone(String customer_phone) {
		this.customer_phone = customer_phone;
	}
	public String getCustomer_email() {
		return customer_email;
	}
	public void setCustomer_email(String customer_email) {
		this.customer_email = customer_email;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getCurrency() {
		return currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	public String getSenior_oir() {
		return senior_oir;
	}
	public void setSenior_oir(String senior_oir) {
		this.senior_oir = senior_oir;
	}
	public String getAccounting_ori() {
		return accounting_ori;
	}
	public void setAccounting_ori(String accounting_ori) {
		this.accounting_ori = accounting_ori;
	}
	public String getAccount_subject() {
		return account_subject;
	}
	public void setAccount_subject(String account_subject) {
		this.account_subject = account_subject;
	}
	public String getBalance_direct() {
		return balance_direct;
	}
	public void setBalance_direct(String balance_direct) {
		this.balance_direct = balance_direct;
	}
	public Double getBalance() {
		return balance;
	}
	public void setBalance(Double balance) {
		this.balance = balance;
	}
	public Double getBalance_pre() {
		return balance_pre;
	}
	public void setBalance_pre(Double balance_pre) {
		this.balance_pre = balance_pre;
	}
	public String getCustomer_number() {
		return customer_number;
	}
	public void setCustomer_number(String customer_number) {
		this.customer_number = customer_number;
	}
	public String getCustomer_name() {
		return customer_name;
	}
	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}
	public Double getProduct_number() {
		return product_number;
	}
	public void setProduct_number(Double product_number) {
		this.product_number = product_number;
	}
	public String getAccount_status() {
		return account_status;
	}
	public void setAccount_status(String account_status) {
		this.account_status = account_status;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	
	
}
